﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001519 RID: 5401
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WorkbenchFuncInfo : IMessage<WorkbenchFuncInfo>, IMessage, IEquatable<WorkbenchFuncInfo>, IDeepCloneable<WorkbenchFuncInfo>, IBufferMessage
	{
		// Token: 0x17004400 RID: 17408
		// (get) Token: 0x0600F1A9 RID: 61865 RVA: 0x00285094 File Offset: 0x00283294
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WorkbenchFuncInfo> Parser
		{
			get
			{
				return WorkbenchFuncInfo._parser;
			}
		}

		// Token: 0x17004401 RID: 17409
		// (get) Token: 0x0600F1AA RID: 61866 RVA: 0x0028509B File Offset: 0x0028329B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WorkbenchFuncInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004402 RID: 17410
		// (get) Token: 0x0600F1AB RID: 61867 RVA: 0x002850AD File Offset: 0x002832AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WorkbenchFuncInfo.Descriptor;
			}
		}

		// Token: 0x0600F1AC RID: 61868 RVA: 0x002850B4 File Offset: 0x002832B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchFuncInfo()
		{
		}

		// Token: 0x0600F1AD RID: 61869 RVA: 0x002850BC File Offset: 0x002832BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchFuncInfo(WorkbenchFuncInfo other) : this()
		{
			switch (other.MOAIEGGHEAFCase)
			{
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK:
				this.CBDECPOACJK = other.CBDECPOACJK.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc:
				this.EnhanceBuffFunc = other.EnhanceBuffFunc.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc:
				this.ReforgeBuffFunc = other.ReforgeBuffFunc.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem:
				this.MagicItem = other.MagicItem.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH:
				this.IJKFIIODHKH = other.IJKFIIODHKH.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE:
				this.MKDMBFBCCCE = other.MKDMBFBCCCE.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc:
				this.ComposeMiracleFunc = other.ComposeMiracleFunc.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc:
				this.ReforgeHexAvatarFunc = other.ReforgeHexAvatarFunc.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc:
				this.ReforgeFormulaFunc = other.ReforgeFormulaFunc.Clone();
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit:
				this.GameMagicUnit = other.GameMagicUnit.Clone();
				break;
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F1AE RID: 61870 RVA: 0x002851E9 File Offset: 0x002833E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchFuncInfo Clone()
		{
			return new WorkbenchFuncInfo(this);
		}

		// Token: 0x17004403 RID: 17411
		// (get) Token: 0x0600F1AF RID: 61871 RVA: 0x002851F1 File Offset: 0x002833F1
		// (set) Token: 0x0600F1B0 RID: 61872 RVA: 0x00285209 File Offset: 0x00283409
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeBuffFuncInfo ReforgeBuffFunc
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc)
				{
					return null;
				}
				return (WorkbenchReforgeBuffFuncInfo)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc);
			}
		}

		// Token: 0x17004404 RID: 17412
		// (get) Token: 0x0600F1B1 RID: 61873 RVA: 0x0028521F File Offset: 0x0028341F
		// (set) Token: 0x0600F1B2 RID: 61874 RVA: 0x00285238 File Offset: 0x00283438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeFormulaFuncInfo ReforgeFormulaFunc
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc)
				{
					return null;
				}
				return (WorkbenchReforgeFormulaFuncInfo)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc);
			}
		}

		// Token: 0x17004405 RID: 17413
		// (get) Token: 0x0600F1B3 RID: 61875 RVA: 0x0028524F File Offset: 0x0028344F
		// (set) Token: 0x0600F1B4 RID: 61876 RVA: 0x00285267 File Offset: 0x00283467
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchEnhanceBuffFuncInfo EnhanceBuffFunc
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc)
				{
					return null;
				}
				return (WorkbenchEnhanceBuffFuncInfo)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc);
			}
		}

		// Token: 0x17004406 RID: 17414
		// (get) Token: 0x0600F1B5 RID: 61877 RVA: 0x0028527D File Offset: 0x0028347D
		// (set) Token: 0x0600F1B6 RID: 61878 RVA: 0x00285296 File Offset: 0x00283496
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchComposeMiracleFunc ComposeMiracleFunc
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc)
				{
					return null;
				}
				return (WorkbenchComposeMiracleFunc)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc);
			}
		}

		// Token: 0x17004407 RID: 17415
		// (get) Token: 0x0600F1B7 RID: 61879 RVA: 0x002852AD File Offset: 0x002834AD
		// (set) Token: 0x0600F1B8 RID: 61880 RVA: 0x002852C6 File Offset: 0x002834C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeHexAvatarFunc ReforgeHexAvatarFunc
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc)
				{
					return null;
				}
				return (WorkbenchReforgeHexAvatarFunc)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc);
			}
		}

		// Token: 0x17004408 RID: 17416
		// (get) Token: 0x0600F1B9 RID: 61881 RVA: 0x002852DD File Offset: 0x002834DD
		// (set) Token: 0x0600F1BA RID: 61882 RVA: 0x002852F5 File Offset: 0x002834F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GBGJBBNEPHF MagicItem
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem)
				{
					return null;
				}
				return (GBGJBBNEPHF)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem);
			}
		}

		// Token: 0x17004409 RID: 17417
		// (get) Token: 0x0600F1BB RID: 61883 RVA: 0x0028530B File Offset: 0x0028350B
		// (set) Token: 0x0600F1BC RID: 61884 RVA: 0x00285324 File Offset: 0x00283524
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AAHKNOFFJOO GameMagicUnit
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit)
				{
					return null;
				}
				return (AAHKNOFFJOO)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit);
			}
		}

		// Token: 0x1700440A RID: 17418
		// (get) Token: 0x0600F1BD RID: 61885 RVA: 0x0028533B File Offset: 0x0028353B
		// (set) Token: 0x0600F1BE RID: 61886 RVA: 0x00285353 File Offset: 0x00283553
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PALJAFMCLAN CBDECPOACJK
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK)
				{
					return null;
				}
				return (PALJAFMCLAN)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK);
			}
		}

		// Token: 0x1700440B RID: 17419
		// (get) Token: 0x0600F1BF RID: 61887 RVA: 0x00285369 File Offset: 0x00283569
		// (set) Token: 0x0600F1C0 RID: 61888 RVA: 0x00285382 File Offset: 0x00283582
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LILBCAMGBKF MKDMBFBCCCE
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE)
				{
					return null;
				}
				return (LILBCAMGBKF)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE);
			}
		}

		// Token: 0x1700440C RID: 17420
		// (get) Token: 0x0600F1C1 RID: 61889 RVA: 0x00285399 File Offset: 0x00283599
		// (set) Token: 0x0600F1C2 RID: 61890 RVA: 0x002853B2 File Offset: 0x002835B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IKCLNGIOBGH IJKFIIODHKH
		{
			get
			{
				if (this.mOAIEGGHEAFCase_ != WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH)
				{
					return null;
				}
				return (IKCLNGIOBGH)this.mOAIEGGHEAF_;
			}
			set
			{
				this.mOAIEGGHEAF_ = value;
				this.mOAIEGGHEAFCase_ = ((value == null) ? WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None : WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH);
			}
		}

		// Token: 0x1700440D RID: 17421
		// (get) Token: 0x0600F1C3 RID: 61891 RVA: 0x002853C9 File Offset: 0x002835C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchFuncInfo.MOAIEGGHEAFOneofCase MOAIEGGHEAFCase
		{
			get
			{
				return this.mOAIEGGHEAFCase_;
			}
		}

		// Token: 0x0600F1C4 RID: 61892 RVA: 0x002853D1 File Offset: 0x002835D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearMOAIEGGHEAF()
		{
			this.mOAIEGGHEAFCase_ = WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.None;
			this.mOAIEGGHEAF_ = null;
		}

		// Token: 0x0600F1C5 RID: 61893 RVA: 0x002853E1 File Offset: 0x002835E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WorkbenchFuncInfo);
		}

		// Token: 0x0600F1C6 RID: 61894 RVA: 0x002853F0 File Offset: 0x002835F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WorkbenchFuncInfo other)
		{
			return other != null && (other == this || (object.Equals(this.ReforgeBuffFunc, other.ReforgeBuffFunc) && object.Equals(this.ReforgeFormulaFunc, other.ReforgeFormulaFunc) && object.Equals(this.EnhanceBuffFunc, other.EnhanceBuffFunc) && object.Equals(this.ComposeMiracleFunc, other.ComposeMiracleFunc) && object.Equals(this.ReforgeHexAvatarFunc, other.ReforgeHexAvatarFunc) && object.Equals(this.MagicItem, other.MagicItem) && object.Equals(this.GameMagicUnit, other.GameMagicUnit) && object.Equals(this.CBDECPOACJK, other.CBDECPOACJK) && object.Equals(this.MKDMBFBCCCE, other.MKDMBFBCCCE) && object.Equals(this.IJKFIIODHKH, other.IJKFIIODHKH) && this.MOAIEGGHEAFCase == other.MOAIEGGHEAFCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F1C7 RID: 61895 RVA: 0x002854FC File Offset: 0x002836FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc)
			{
				num ^= this.ReforgeBuffFunc.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc)
			{
				num ^= this.ReforgeFormulaFunc.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc)
			{
				num ^= this.EnhanceBuffFunc.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc)
			{
				num ^= this.ComposeMiracleFunc.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc)
			{
				num ^= this.ReforgeHexAvatarFunc.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem)
			{
				num ^= this.MagicItem.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit)
			{
				num ^= this.GameMagicUnit.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK)
			{
				num ^= this.CBDECPOACJK.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE)
			{
				num ^= this.MKDMBFBCCCE.GetHashCode();
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH)
			{
				num ^= this.IJKFIIODHKH.GetHashCode();
			}
			num ^= (int)this.mOAIEGGHEAFCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F1C8 RID: 61896 RVA: 0x00285617 File Offset: 0x00283817
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F1C9 RID: 61897 RVA: 0x0028561F File Offset: 0x0028381F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F1CA RID: 61898 RVA: 0x00285628 File Offset: 0x00283828
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.CBDECPOACJK);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.EnhanceBuffFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.ReforgeBuffFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.MagicItem);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.IJKFIIODHKH);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.MKDMBFBCCCE);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.ComposeMiracleFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.ReforgeHexAvatarFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.ReforgeFormulaFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.GameMagicUnit);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F1CB RID: 61899 RVA: 0x00285774 File Offset: 0x00283974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ReforgeBuffFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ReforgeFormulaFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EnhanceBuffFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ComposeMiracleFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ReforgeHexAvatarFunc);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MagicItem);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GameMagicUnit);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CBDECPOACJK);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MKDMBFBCCCE);
			}
			if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.IJKFIIODHKH);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F1CC RID: 61900 RVA: 0x0028589C File Offset: 0x00283A9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WorkbenchFuncInfo other)
		{
			if (other == null)
			{
				return;
			}
			switch (other.MOAIEGGHEAFCase)
			{
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK:
				if (this.CBDECPOACJK == null)
				{
					this.CBDECPOACJK = new PALJAFMCLAN();
				}
				this.CBDECPOACJK.MergeFrom(other.CBDECPOACJK);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc:
				if (this.EnhanceBuffFunc == null)
				{
					this.EnhanceBuffFunc = new WorkbenchEnhanceBuffFuncInfo();
				}
				this.EnhanceBuffFunc.MergeFrom(other.EnhanceBuffFunc);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc:
				if (this.ReforgeBuffFunc == null)
				{
					this.ReforgeBuffFunc = new WorkbenchReforgeBuffFuncInfo();
				}
				this.ReforgeBuffFunc.MergeFrom(other.ReforgeBuffFunc);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem:
				if (this.MagicItem == null)
				{
					this.MagicItem = new GBGJBBNEPHF();
				}
				this.MagicItem.MergeFrom(other.MagicItem);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH:
				if (this.IJKFIIODHKH == null)
				{
					this.IJKFIIODHKH = new IKCLNGIOBGH();
				}
				this.IJKFIIODHKH.MergeFrom(other.IJKFIIODHKH);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE:
				if (this.MKDMBFBCCCE == null)
				{
					this.MKDMBFBCCCE = new LILBCAMGBKF();
				}
				this.MKDMBFBCCCE.MergeFrom(other.MKDMBFBCCCE);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc:
				if (this.ComposeMiracleFunc == null)
				{
					this.ComposeMiracleFunc = new WorkbenchComposeMiracleFunc();
				}
				this.ComposeMiracleFunc.MergeFrom(other.ComposeMiracleFunc);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc:
				if (this.ReforgeHexAvatarFunc == null)
				{
					this.ReforgeHexAvatarFunc = new WorkbenchReforgeHexAvatarFunc();
				}
				this.ReforgeHexAvatarFunc.MergeFrom(other.ReforgeHexAvatarFunc);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc:
				if (this.ReforgeFormulaFunc == null)
				{
					this.ReforgeFormulaFunc = new WorkbenchReforgeFormulaFuncInfo();
				}
				this.ReforgeFormulaFunc.MergeFrom(other.ReforgeFormulaFunc);
				break;
			case WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit:
				if (this.GameMagicUnit == null)
				{
					this.GameMagicUnit = new AAHKNOFFJOO();
				}
				this.GameMagicUnit.MergeFrom(other.GameMagicUnit);
				break;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F1CD RID: 61901 RVA: 0x00285A94 File Offset: 0x00283C94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F1CE RID: 61902 RVA: 0x00285AA0 File Offset: 0x00283CA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num <= 50U)
					{
						if (num == 34U)
						{
							PALJAFMCLAN paljafmclan = new PALJAFMCLAN();
							if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.CBDECPOACJK)
							{
								paljafmclan.MergeFrom(this.CBDECPOACJK);
							}
							input.ReadMessage(paljafmclan);
							this.CBDECPOACJK = paljafmclan;
							continue;
						}
						if (num == 50U)
						{
							WorkbenchEnhanceBuffFuncInfo workbenchEnhanceBuffFuncInfo = new WorkbenchEnhanceBuffFuncInfo();
							if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.EnhanceBuffFunc)
							{
								workbenchEnhanceBuffFuncInfo.MergeFrom(this.EnhanceBuffFunc);
							}
							input.ReadMessage(workbenchEnhanceBuffFuncInfo);
							this.EnhanceBuffFunc = workbenchEnhanceBuffFuncInfo;
							continue;
						}
					}
					else
					{
						if (num == 58U)
						{
							WorkbenchReforgeBuffFuncInfo workbenchReforgeBuffFuncInfo = new WorkbenchReforgeBuffFuncInfo();
							if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeBuffFunc)
							{
								workbenchReforgeBuffFuncInfo.MergeFrom(this.ReforgeBuffFunc);
							}
							input.ReadMessage(workbenchReforgeBuffFuncInfo);
							this.ReforgeBuffFunc = workbenchReforgeBuffFuncInfo;
							continue;
						}
						if (num == 66U)
						{
							GBGJBBNEPHF gbgjbbnephf = new GBGJBBNEPHF();
							if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MagicItem)
							{
								gbgjbbnephf.MergeFrom(this.MagicItem);
							}
							input.ReadMessage(gbgjbbnephf);
							this.MagicItem = gbgjbbnephf;
							continue;
						}
						if (num == 74U)
						{
							IKCLNGIOBGH ikclngiobgh = new IKCLNGIOBGH();
							if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.IJKFIIODHKH)
							{
								ikclngiobgh.MergeFrom(this.IJKFIIODHKH);
							}
							input.ReadMessage(ikclngiobgh);
							this.IJKFIIODHKH = ikclngiobgh;
							continue;
						}
					}
				}
				else if (num <= 90U)
				{
					if (num == 82U)
					{
						LILBCAMGBKF lilbcamgbkf = new LILBCAMGBKF();
						if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.MKDMBFBCCCE)
						{
							lilbcamgbkf.MergeFrom(this.MKDMBFBCCCE);
						}
						input.ReadMessage(lilbcamgbkf);
						this.MKDMBFBCCCE = lilbcamgbkf;
						continue;
					}
					if (num == 90U)
					{
						WorkbenchComposeMiracleFunc workbenchComposeMiracleFunc = new WorkbenchComposeMiracleFunc();
						if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ComposeMiracleFunc)
						{
							workbenchComposeMiracleFunc.MergeFrom(this.ComposeMiracleFunc);
						}
						input.ReadMessage(workbenchComposeMiracleFunc);
						this.ComposeMiracleFunc = workbenchComposeMiracleFunc;
						continue;
					}
				}
				else
				{
					if (num == 98U)
					{
						WorkbenchReforgeHexAvatarFunc workbenchReforgeHexAvatarFunc = new WorkbenchReforgeHexAvatarFunc();
						if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeHexAvatarFunc)
						{
							workbenchReforgeHexAvatarFunc.MergeFrom(this.ReforgeHexAvatarFunc);
						}
						input.ReadMessage(workbenchReforgeHexAvatarFunc);
						this.ReforgeHexAvatarFunc = workbenchReforgeHexAvatarFunc;
						continue;
					}
					if (num == 106U)
					{
						WorkbenchReforgeFormulaFuncInfo workbenchReforgeFormulaFuncInfo = new WorkbenchReforgeFormulaFuncInfo();
						if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.ReforgeFormulaFunc)
						{
							workbenchReforgeFormulaFuncInfo.MergeFrom(this.ReforgeFormulaFunc);
						}
						input.ReadMessage(workbenchReforgeFormulaFuncInfo);
						this.ReforgeFormulaFunc = workbenchReforgeFormulaFuncInfo;
						continue;
					}
					if (num == 122U)
					{
						AAHKNOFFJOO aahknoffjoo = new AAHKNOFFJOO();
						if (this.mOAIEGGHEAFCase_ == WorkbenchFuncInfo.MOAIEGGHEAFOneofCase.GameMagicUnit)
						{
							aahknoffjoo.MergeFrom(this.GameMagicUnit);
						}
						input.ReadMessage(aahknoffjoo);
						this.GameMagicUnit = aahknoffjoo;
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005F5F RID: 24415
		private static readonly MessageParser<WorkbenchFuncInfo> _parser = new MessageParser<WorkbenchFuncInfo>(() => new WorkbenchFuncInfo());

		// Token: 0x04005F60 RID: 24416
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F61 RID: 24417
		public const int ReforgeBuffFuncFieldNumber = 7;

		// Token: 0x04005F62 RID: 24418
		public const int ReforgeFormulaFuncFieldNumber = 13;

		// Token: 0x04005F63 RID: 24419
		public const int EnhanceBuffFuncFieldNumber = 6;

		// Token: 0x04005F64 RID: 24420
		public const int ComposeMiracleFuncFieldNumber = 11;

		// Token: 0x04005F65 RID: 24421
		public const int ReforgeHexAvatarFuncFieldNumber = 12;

		// Token: 0x04005F66 RID: 24422
		public const int MagicItemFieldNumber = 8;

		// Token: 0x04005F67 RID: 24423
		public const int GameMagicUnitFieldNumber = 15;

		// Token: 0x04005F68 RID: 24424
		public const int CBDECPOACJKFieldNumber = 4;

		// Token: 0x04005F69 RID: 24425
		public const int MKDMBFBCCCEFieldNumber = 10;

		// Token: 0x04005F6A RID: 24426
		public const int IJKFIIODHKHFieldNumber = 9;

		// Token: 0x04005F6B RID: 24427
		private object mOAIEGGHEAF_;

		// Token: 0x04005F6C RID: 24428
		private WorkbenchFuncInfo.MOAIEGGHEAFOneofCase mOAIEGGHEAFCase_;

		// Token: 0x02001F55 RID: 8021
		public enum MOAIEGGHEAFOneofCase
		{
			// Token: 0x04006B28 RID: 27432
			None,
			// Token: 0x04006B29 RID: 27433
			ReforgeBuffFunc = 7,
			// Token: 0x04006B2A RID: 27434
			ReforgeFormulaFunc = 13,
			// Token: 0x04006B2B RID: 27435
			EnhanceBuffFunc = 6,
			// Token: 0x04006B2C RID: 27436
			ComposeMiracleFunc = 11,
			// Token: 0x04006B2D RID: 27437
			ReforgeHexAvatarFunc,
			// Token: 0x04006B2E RID: 27438
			MagicItem = 8,
			// Token: 0x04006B2F RID: 27439
			GameMagicUnit = 15,
			// Token: 0x04006B30 RID: 27440
			CBDECPOACJK = 4,
			// Token: 0x04006B31 RID: 27441
			MKDMBFBCCCE = 10,
			// Token: 0x04006B32 RID: 27442
			IJKFIIODHKH = 9
		}
	}
}
